package com.qc.entity;

import com.qc.common.StringUtil;

public class SystemMessageEntity {

	private long bId;
	
	//用户id
	private long userId;
	
	//内容
	private String content;
	
	//系统通知类型 1 用户 2 系统
	private int systemType;
	
	//创建时间
	private String createdTime;

	public long getbId() {
		return bId;
	}

	public void setbId(long bId) {
		this.bId = bId;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getSystemType() {
		return systemType;
	}

	public void setSystemType(int systemType) {
		this.systemType = systemType;
	}

	public String getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(String createdTime) {
		
		if (StringUtil.isNotEmpty(createdTime)) {
			this.createdTime = createdTime.substring(0,19);
		}else {
			this.createdTime = createdTime;
		}
	}

	
}
